<%-- 
    Document   : updateCustomerForSms
    Created on : 5 Dec, 2012, 2:08:04 PM
    Author     : sagar
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../common/script.jsp" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <%@include file="../common/title.jsp" %>
        <script type="text/javascript">
            var rules=new Array();
            rules[0]='smsSituatonId|required|please Select smsType';
        </script>
    </head>
    <body onload="yav.init('form1',rules,'inline');">
        <%@include file="../common/header.jsp" %>
        <%@include file="../common/menu.jsp" %>
        <div class="in_02">
            <%@include file="../common/message.jsp" %>
            <table style="width: 100%;">
                <tbody>
                    <tr>
                        <td style=" width: 50%;">
                            <div class="update_customer_form">
                                <form:form id="form1" name="form1" modelAttribute="customer" method="POST" cssClass="userInputForm">
                                    <fieldset style="width: 100%;">
                                        <legend><spring:message code="title.selectSmsType"/></legend>
                                        <table class="formTable">
                                            <tr>
                                                <td>
                                                    <spring:message code="smsType"/>:<br/>
                                                    
                                                    <select  id="smsSituatonId" name="smsSituatonId"  cssClass="userInputMedium" >
                                                        <option value="" label="-"></option>
                                                        <c:forEach items="${smsSituationList}" var="list">
                                                            <option  value="${list.smsSituationId}"<c:if test="${smsSituatonId==list.smsSituationId}">seleted</c:if>>${list.smsSituationDesc}</option>
                                                        </c:forEach>
                                                    </select><br/>
                                                    <span id="errorsDiv_smsSituatonId"></span><br/>
                                                </td>
                                            </tr>   
                                            <tr>                
                                                <td>
                                                    <input type="submit" name="_stepTwo" class="userInputFormSubmit" value="<spring:message code="button.Go"/>" onclick="return yav.performCheck('form1', rules, 'inline');"/>
                                                    <input type="submit" name="_cancel" value="<spring:message code="button.Cancel"/>" />
                                                </td>
                                            </tr>
                                        </table>
                                    </fieldset>
                                </form:form>
                            </div>
                        </td>

                    </tr>
                </tbody>    
            </table>
        </div>
    </body>
</html>
